package com.poker.wiki;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

@SpringBootApplication
//@ComponentScan("com.poker.common")
@ComponentScan(basePackages = {"com.poker.wiki.*","com.poker.common"})
@EnableScheduling
@EnableDiscoveryClient
public class WikiApplication {


    public static void main(String[] args) {
        System.setProperty("apollo.config-service", "http://120.76.247.12:8080");
        SpringApplication.run(WikiApplication.class, args);
    }

}
